package com.gc.server.vo.down;


import lombok.Data;
import java.util.Date;
import com.alibaba.excel.annotation.*;
import java.io.Serializable;



import com.gc.server.entity.AdviseEntity;
import com.gc.server.vo.AdviseVo;

                
/**
 * 建议实体
 * 表名 advise
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Thu Oct 22 09:25:43 CST 2020
 */
@Data
public class AdviseDown implements Serializable {
    @ExcelIgnore
    private static final long serialVersionUID = 1L;

                        //
            @ExcelProperty("")
            private Long id;
        
                        //标题
            @ExcelProperty("标题")
            private String title;
        
                        //内容
            @ExcelProperty("内容")
            private String content;
        
                        //IMG-图片
            @ExcelProperty("IMG-图片")
            private String img;
        
    
    public AdviseDown() {

    }

    public AdviseDown(AdviseVo vo) {
        AdviseEntity entity = vo.getEntity();
                                    this.setId(entity.getId());
            
                                    this.setTitle(entity.getTitle());
            
                                    this.setContent(entity.getContent());
            
                                    this.setImg(entity.getImg());
            
            }


}
